package jaux.tank.generator.domain;

import java.util.List;
import java.util.Map;

import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class TankEnum {

	public enum FieldValueType{
		STRING, INTEGER, LONG,  FLOAT, DOUBLE,  BOOLEAN
	}
	private String name;
	private List<TankEnumField> fields;
	
	private Map<String, Object[]> enums;
	
	public TankEnum(String name) {
		this.name = name;
	}
	
	public TankEnum(String name, List<TankEnumField> fields) {
		this.name = name;
		this.fields = fields;
	}	
	@Data
	public static class TankEnumField {
		private String name;
		private FieldValueType type;
	}
}
